interface IFullNutrients {
    attr_id: string | null;
    value: number | null;
}

interface IAltMeasures {
    serving_weight: number;
    measure: string;
    seq: number;
    qty: number;
}

interface IPhoto {
    thumb: string;
    highres: string;
    is_user_uploaded: boolean;
}

export interface INutritionixRes {
    food_name: string | null;
    brand_name: string | null;
    serving_qty: number | null;
    serving_unit: string | null;
    serving_weight_grams: number | null;
    nf_calories: number | null;
    nf_total_fat: number | null;
    nf_saturated_fat: number | null;
    nf_cholesterol: number | null;
    nf_sodium: number | null;
    nf_total_carbohydrate: number | null;
    nf_dietary_fiber: number | null;
    nf_sugars: number | null;
    nf_protein: number | null;
    nf_potassium: number | null;
    nf_p: number | null;
    full_nutrients: IFullNutrients[];
    nix_brand_name: string | null;
    nix_brand_id: string | number | null;
    nix_item_name: string | null;
    nix_item_id: string | number | null;
    upc: string | number | null;
    consumed_at: Date;
    metadata: any;
    source: number | null;
    ndb_no: number | null;
    tags: any;
    alt_measures: IAltMeasures[];
    lat: any;
    lng: any;
    meal_type: number | null;
    photo: IPhoto;
    sub_recipe: null;
    class_code: null;
    brick_code: null;
    tag_id: null;
}
